import { User } from '@/types/user'
import { request } from '@/utils/request'
// 密码登录
const loginByPassword = (mobile: string, password: string) =>
  request<User>('/login/password', 'POST', {
    mobile,
    password
  })
